// app.js
App({
  onLaunch() {
    const sys = wx.getWindowInfo()
    wx.setStorageSync('windowHeight', sys.safeArea.bottom - sys.statusBarHeight)
  },
  globalData: {
    userInfo: null
  }
})
